﻿using RepositoryEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRepositoryBll
{
    public interface IWorkFlow_ModelBll : IBaseDeleteBll<WorkFlow_Model>
    {
        /// <summary>
        /// 分页
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="count"></param>
        /// <param name="title"></param>
        /// <returns></returns>
        object GetWorkFlow_ModelListByPage(int page, int limit, out int count, string title);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="iD"></param>
        /// <param name="title"></param>
        /// <param name="description"></param>
        /// <returns></returns>
        bool UpdateWorkFlow_Model(string iD, string title, string description);

        /// <summary>
        /// 获取流程模板下拉选数据
        /// </summary>
        /// <returns></returns>
        object GetWorkFlow_ModelSelectOption();
    }
}
